package com.cn.service.impl;

import com.cn.mapper.Parkingmapper;
import com.cn.pojo.Parking;
import com.cn.service.Parkingservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service

public class Parkingserviceimpl  implements Parkingservice {

    @Autowired
    private Parkingmapper pk;


    @Override
    public List<Map> showp(Parking pp) {
        return pk.showp(pp);
    }

    @Override
    public int addp(Parking pp) {
        return pk.addp(pp);
    }

    @Override
    public int delp(int id) {
        return pk.delp(id);
    }

    @Override
    public int upp(Parking pp) {
        return pk.upp(pp);
    }
}
